package net.piggy.common.util.general;

import org.springframework.context.ApplicationContext;

public class ApplicationContextUtil {
    public final static String method = "setApplicationContext";

    private static ApplicationContext applicationContext;

    public static ApplicationContext getApplicationContext() {
        return applicationContext;
    }

    private static void setApplicationContext(ApplicationContext applicationContext) {
        ApplicationContextUtil.applicationContext = applicationContext;
    }

    private ApplicationContextUtil(){}
}
